package com.ruoyi.system.api.domain;

import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 部门附件对象 sys_dept_file
 * 
 * @author ruoyi
 * @date 2023-02-10
 */
@ApiModel("部门附件对象")
public class SysDeptFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 部门 */
    @Excel(name = "部门")
    private Long deptId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件编号 */
    @Excel(name = "文件编号")
    private String fileCode;

    /** 状态 (0:正常 1:作废) */
    @Excel(name = "状态 (0:正常 1:作废)")
    private Integer status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileCode(String fileCode) 
    {
        this.fileCode = fileCode;
    }

    public String getFileCode() 
    {
        return fileCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("fileName", getFileName())
            .append("fileCode", getFileCode())
            .append("status", getStatus())
            .toString();
    }
}
